<script setup>
//日程
const activities = [
  {
    content: '集体培训',
    timestamp: '2018-04-12 20:46',
    size: 'large',
  },
  {
    content: '账务清算完成',
    timestamp: '2018-04-03 20:46',
    type: 'primary',
  },
  {
    content: '账务清算',
    timestamp: '2018-04-03 08:46',
    size: 'large',
  },
  {
    content: '工资发放',
    timestamp: '2018-04-03 08:46',
    type: 'primary',
    hollow: true,
  },
  {
    content: '每月结算',
    timestamp: '2018-04-02 08:46',
  },
]



</script>

<template>
  <el-text>我的日程</el-text>
  <el-timeline>
    <el-timeline-item
      v-for="(activity, index) in activities"
      :key="index"
      :icon="activity.icon"
      :type="activity.type"
      :color="activity.color"
      :size="activity.size"
      :hollow="activity.hollow"
      :timestamp="activity.timestamp"
    >
      {{ activity.content }}
    </el-timeline-item>
  </el-timeline>
</template>

<style lang="scss">
.el-text{
  line-height:35px
}
</style>
